﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace DotNet.WebUI.BasicControl
{
    public partial class dpl : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        
        protected void btnCalc_Click(object sender, EventArgs e)
        {
            int[] a = { 1, 21, 30, 71, 12, 93, 4, 57, 6, 89, 91, 33, 28, 333, 189, 167 };
            foreach (int i in a)
            {
                if (i % 2 == 1 && i % 3 == 0)
                {
                    ddlData.Items.Add(i.ToString());
                }
            }
        }
    }
}